<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Notices_DetailAction
 *
 * @author Alen
 */
class Notice_DetailAction extends PyramidAction {
    //put your code here
    public function index(){
        $id=request_numeric('id');
        if(!$id) redirect('?m=Notice_List');
        $this->biz=new SoBizCommon();
        $ds=$this->biz->article_get_item('ID='.$id);
        
        // 设置页面seo信息
        $this->set_page_info($ds['Title'],$ds['MetaKey'],$ds['MetaDescription']);
        
        // 模板变量赋值
        $this->assign('content', $ds['Description']);
        $this->assign('title', $ds['Title']);
        $this->display();
    }
}

?>
